import numpy as np
import pandas as pd
import calmap
import matplotlib
print(matplotlib._version.get_versions())

# np.random.seed(sum(map(ord, 'calmap')))
all_days = pd.date_range('1/15/2019', periods=700, freq='D')
days = np.random.choice(all_days, 500)
events = pd.Series(np.random.randn(len(days)), index=days)
# print(events)
calmap.yearplot(events,year=2020)
# print(calmap.yearplot)
# calmap.yearplot(events, year=2015)
# calmap.calendarplot(events, monthticks=3, daylabels='MTWTFSS',
#                     dayticks=[0, 2, 4, 6], cmap='YlGn',
#                     fillcolor='grey', linewidth=0,
#                     fig_kws=dict(figsize=(8, 4)))
